﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;

namespace Framework.GameStateManagment.GameScreens
{
    class LoadingScreenGame : LoadingScreenBeginn
    {
        public override void Update()
        {
            if (RectLadebalken.Width <= Ladebalken.Width)
            {
                RectLadebalken.Width = RectLadebalken.Width + 7;
            }
            else
            {
                if (Input.KS.IsKeyDown(Keys.Space))
                {
                    GameStateManagment.GameState = 3;
                }
            }

        }
    }
}
